mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-03 17:26:08 -04:00
16 lines
211 B
Makefile
16 lines
211 B
Makefile
.PHONY: default clean
|
|
|
|
default: rm
|
|
|
|
include ../../cpp.mk
|
|
|
|
%.cpp.o: src/%.cpp
|
|
$(CXX) -c $< -o $@ $(PROGRAM_FLAGS)
|
|
|
|
rm: main.cpp.o
|
|
$(CXX) -o rm main.cpp.o $(PROGRAM_LINK_FLAGS)
|
|
|
|
clean:
|
|
rm -f *.cpp.o
|
|
rm -rf rm
|