File: Makefile.in

package info (click to toggle)
liquidwar 5.4.5-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,020 kB
  • ctags: 1,508
  • sloc: ansic: 13,836; sh: 2,488; xml: 2,270; asm: 1,349; makefile: 749; python: 443
file content (27 lines) | stat: -rw-r--r-- 581 bytes parent folder | download
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
ALLEGRO_DAT = dat

FONT_SMALL = degrad10.pcx
FONT_BIG = degrad20.pcx
MOUSE_SMALL = mouse20.pcx
MOUSE_BIG = mouse40.pcx
PALETTE = palette.pcx

all: font.dat

font.dat: $(PALETTE) $(FONT_SMALL) $(FONT_BIG) $(MOUSE_SMALL) $(MOUSE_BIG)
	@rm -f $@
	@echo Creating $@
	@$(ALLEGRO_DAT) -a -t font $@ $(FONT_SMALL)
	@$(ALLEGRO_DAT) -a -t font $@ $(FONT_BIG)
	@$(ALLEGRO_DAT) -a -t bmp $@ $(MOUSE_SMALL) 
	@$(ALLEGRO_DAT) -a -t bmp $@ $(MOUSE_BIG) 
	@$(ALLEGRO_DAT) -a -t pal $@ $(PALETTE)

clean:
	@rm -f *dat $(PALETTE)

distclean:
	@rm -f Makefile

$(PALETTE): $(FONT_SMALL)
	@cp $< $@