sortix-mirror/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 12:25:00 +00:00
all: hello
hello: hello.o
$(LD) $(LDFLAGS) hello.o -o hello $(LIBS)
2011-08-05 12:25:00 +00:00
hello.o: hello.cpp
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -O2 -c hello.cpp -o hello.o
2011-08-05 12:25:00 +00:00
clean:
rm -f hello.o hello
2011-08-05 12:25:00 +00:00