Skip to content

Instantly share code, notes, and snippets.

@sophiebits
Created January 4, 2009 09:28
Show Gist options
  • Save sophiebits/43030 to your computer and use it in GitHub Desktop.
Save sophiebits/43030 to your computer and use it in GitHub Desktop.
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