From 64db944304cd26ffa2aa6dec2cd53adb0f293960 Mon Sep 17 00:00:00 2001 From: Daniel Flickinger <flikx@flux.utah.edu> Date: Thu, 16 Dec 2004 08:25:01 +0000 Subject: [PATCH] Makefile tweaks --- robots/primotion/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/robots/primotion/Makefile b/robots/primotion/Makefile index 4e3e45c30f..4ff2a29282 100755 --- a/robots/primotion/Makefile +++ b/robots/primotion/Makefile @@ -17,7 +17,8 @@ CXXFLAGS = -DaUNIX -s -static # Build for i386: #ARCH=i686 #CC=g++ -#CFLAGS=-DaUNIX -g +#CXX=g++ +#CXXFLAGS=-DaUNIX -g CXXFLAGS += -I$(HOSTPATH)/aCommon \ @@ -48,6 +49,7 @@ LDFLAGS += -L$(HOSTPATH)/aRelease/aUnix/$(ARCH)/ OBJECTSREQ=grobot gcallbacks gbehaviors simplepath OBJECTS=grobot.o gcallbacks.o gbehaviors.o simplepath.o mtp.o +OBJECTS_GOROBOTC=grobot.o gcallbacks.o gbehaviors.o simplepath.o all: commotion pathmotion circle gorobot gorobotc @@ -68,7 +70,7 @@ mtp_send: mtp.o $(CC) -o mtp_send $(CXXFLAGS) $(LDFLAGS) ../mtp/mtp_send.c $< gorobotc: $(OBJECTSREQ) - $(CC) -o gorobotc $(OBJECTS) $(CXXFLAGS) $(LDFLAGS) gorobotc.cc $(LIBRARIES) + $(CC) -o gorobotc $(OBJECTS_GOROBOTC) $(CXXFLAGS) $(LDFLAGS) gorobotc.cc $(LIBRARIES) # %.o : %.c # $(CC) $(CFLAGS) -c -o $@ $< $(INCLUDES) -- GitLab