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

16 lines
285 B
Makefile
Raw Normal View History

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