Skip to content

Commit a9d80b3

Browse files
committed
nested source directory, as part of testing change
1 parent 858b955 commit a9d80b3

41 files changed

Lines changed: 29 additions & 29 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Makefile

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
# See LICENSE file for copyright and license details.
21

3-
include ../config.mk
2+
include config.mk
43

5-
all: tint3
4+
all: tint3.o
5+
@mkdir -p build
6+
@cc -o build/tint3 source/tint3_all.o ${LDFLAGS}
67

7-
tint3: tint3.o dmap.o mouse.o dlist.o netinfo.o graph.o vdesk.o draw.o system.o lwxt.o confparse.o lwbi.o format.o http.o weather.o json.o popup.o suggest.o
8-
9-
.c.o: config.mk
10-
@echo CC -c $< ${CFLAGS}
11-
@${CC} -c $< ${CFLAGS}
12-
13-
tint3 tint3_path:
14-
@echo ld -r *.o -o $@.o
15-
@ld -r $+ -o $@_all.o
16-
@rm $+
8+
tint3.o:
9+
cd source && make all
1710

1811
clean:
19-
@rm -f tint3 *.o
20-
21-
update: clean tint3
12+
cd source && make clean
13+
rm -rf build
File renamed without changes.
File renamed without changes.

src/source/Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See LICENSE file for copyright and license details.
2+
3+
include ../config.mk
4+
5+
all: tint3
6+
7+
tint3: tint3.o dmap.o mouse.o dlist.o netinfo.o graph.o vdesk.o draw.o system.o lwxt.o confparse.o lwbi.o format.o http.o weather.o json.o popup.o suggest.o
8+
9+
.c.o: config.mk
10+
@echo CC -c $< ${CFLAGS}
11+
@${CC} -c $< ${CFLAGS}
12+
13+
tint3 tint3_path:
14+
@echo ld -r *.o -o $@.o
15+
@ld -r $+ -o $@_all.o
16+
@rm $+
17+
18+
clean:
19+
@rm -f tint3 *.o
20+
21+
update: clean tint3
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)