File: Makefile.in

package info (click to toggle)
tworld 1.3.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,900 kB
  • sloc: ansic: 12,877; perl: 2,465; makefile: 141
file content (47 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (7)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

CC = @CC@
CFLAGS :=@OSHWCFLAGS@

#
# End of configure section
#

OBJS = sdloshw.o sdltimer.o sdlerr.o sdlin.o sdlout.o sdltext.o \
       sdltile.o sdlsfx.o

#
# The main target
#

liboshw.a: $(OBJS)
	ar crs $@ $^
	cp liboshw.a ..

#
# Object files
#

sdlerr.o  : sdlerr.c sdlgen.h ../gen.h ../oshw.h
sdloshw.o : sdloshw.c sdlgen.h ccicon.c ../gen.h ../oshw.h ../err.h
sdltimer.o: sdltimer.c sdlgen.h ../gen.h ../oshw.h
sdltext.o : sdltext.c sdlgen.h ../gen.h ../oshw.h ../err.h
sdltile.o : sdltile.c sdlgen.h ../gen.h ../oshw.h ../err.h \
            ../defs.h ../state.h
sdlsfx.o  : sdlsfx.c sdlgen.h ../gen.h ../oshw.h ../err.h \
            ../defs.h ../state.h
sdlin.o   : sdlin.c sdlgen.h ../gen.h ../oshw.h ../defs.h
sdlout.o  : sdlout.c sdlgen.h ../gen.h ../oshw.h ../err.h \
            ../defs.h ../state.h

#
# Other
#

all: liboshw.a

clean:
	rm -f $(OBJS) liboshw.a

spotless:
	rm -f $(OBJS) liboshw.a # ccicon.c
	rm -f Makefile