Fixed behavior of VTerm when driver is set at runtime
[tpg/acess2.git] / Usermode / Libraries / Makefile.tpl
1 # Acess 2 SQLite 3 Library
2 #
3
4 DEPFILES := $(OBJ:%.o=%.d)
5
6 .PHONY: all clean install
7
8 all: $(BIN)
9
10 clean:
11         $(RM) $(BIN) $(OBJ) $(BIN).dsm
12
13 install: $(BIN)
14         $(xCP) $(BIN) $(DISTROOT)/Libs/
15
16 $(BIN): $(OBJ)
17         @echo [LD] -o $(BIN) $(OBJ)
18         @$(LD) $(LDFLAGS) -o $(BIN) $(OBJ)
19         @$(OBJDUMP) -d -S $(BIN) > $(BIN).dsm
20
21 %.o: %.c
22         @echo [CC] -o $@
23         @$(CC) $(CFLAGS) -o $@ -c $<
24         @$(CC) -M -MT $@ $(CPPFLAGS) $< -o $*.d
25
26 -include $(DEPFILES)

UCC git Repository :: git.ucc.asn.au