sortix-mirror/pong/Makefile

16 lines
274 B
Makefile
Raw Normal View History

2011-08-11 20:51:04 +00:00
# Set up variables such that we can easily cross-compile.
OSROOT=..
include ../crosscompilemakefile.mak
all: pong
pong: pong.o
$(LD) $(LDFLAGS) pong.o -o pong $(LIBS)
pong.o: pong.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -O2 -c pong.cpp -o pong.o
clean:
rm -f pong.o pong