1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/pong/Makefile

16 lines
274 B
Makefile
Raw Normal View History

2011-08-11 22:51:04 +02: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