| WIND_BASE=/usr/local/wind | |
| WIND_USR=$(WIND_BASE)/target/usr | |
| export WIND_BASE WIND_USR | |
| CXX=/usr/local/bin/powerpc-wrs-vxworks-g++ | |
| INCLUDES=-isystem $(WIND_USR)/h -isystem $(WIND_USR)/h/c++ -I$(WIND_BASE)/target/h #-I$(WIND_BASE)/target/h/wrn/coreip | |
| DEFINES=-D_WRS_KERNEL -DCPU=PPC603 | |
| CFLAGS=$(INCLUDES) $(DEFINES) -g -mlongcall | |
| all: SimpleTemplate.o | |
| SimpleTemplate.o: MyRobot.cpp | |
| $(CXX) $(CFLAGS) -o SimpleTemplate.o MyRobot.cpp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment