blob: b63495b181229b330d9d51287c97b8265001d942 (
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
29
30
31
32
|
CFLAGS = -O0 -g3 -Wall
all: atomdis
atomdis: main.o datastructs.o
$(CC) -o atomdis $^
clean: _always_
-rm -f *.o
-rm -f atombios.h datastructs_gen.c
distclean: clean
-rm -f *~
-rm -f atomdis
atombios.h:
test -r ../ATI/atombios.h
ln -s ../ATI/atombios.h .
datastructs_gen.c: atombios.h datastructs_factory.pl
cpp atombios.h | perl ./datastructs_factory.pl > datastructs_gen.c
_always_:
@true
main.o: atombios.h
datastructs.o: CFLAGS += -Wno-unused
datastructs.o: atombios.h datastructs_gen.c
#EOF
|