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

Removed pong/ to games/ as it will soon store multiple games.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-08-29 00:09:10 +02:00
parent 6ae297d088
commit b39a5700cc
4 changed files with 2 additions and 2 deletions

26
games/Makefile Normal file
View file

@ -0,0 +1,26 @@
# Set up variables such that we can easily cross-compile.
OSROOT=..
include ../crosscompilemakefile.mak
INITRDDIR:=../initrd
LOCALBINARIES:=\
pong \
BINARIES:=$(addprefix $(INITRDDIR)/,$(BINARIES))
all: install
install: $(LOCALBINARIES)
cp $(LOCALBINARIES) $(INITRDDIR)
rm -f $(LOCALBINARIES)
%: %.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -O2 -c $< -o $@.o
$(LD) $(LDFLAGS) $@.o -o $@ $(LIBS)
sh: mxsh
cp $< $@
clean:
rm -f $(BINARIES) $(LOCALBINARIES) *.o