blob: 3129a738e0c0609feee6052cf19ca551d8ee4682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
include ../Makefile.common
SRCS = $(wildcard *.cpp)
OBJS = ${SRCS:.cpp=.o}
APPS = ${SRCS:.cpp=}
DEFINES += -DUSERLAND
.PHONY: all list clean
all: $(OBJS) $(APPS)
list:
@echo $(APPS)
clean:
@echo "CLEAN"
@rm -f $(APPS) $(OBJS) *.d
$(APPS) : % : %.o $(OBJS)
@echo "LD $@"
@$(LD) -o $@ $(LDFLAGS) $< -lc -lhtml -lgui -ldraw -laudio -lipc -lthread -lcore -lpcidb -lmarkdown
%.o: %.cpp
@echo "CXX $<"
@$(CXX) $(CXXFLAGS) -o $@ -c $<
-include $(OBJS:%.o=%.d)
|