File: Makefile.in

package info (click to toggle)
liquidwar 5.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 15,900 kB
  • ctags: 2,624
  • sloc: ansic: 25,422; xml: 3,985; sh: 3,355; makefile: 1,378; asm: 1,344; python: 537; php: 486; sql: 22
file content (30 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (9)
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
ALLEGRO_DAT = dat

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

all: font.dat

font.dat: $(PALETTE) $(FONT_SMALL) $(FONT_BIG) $(MOUSE_SMALL) $(MOUSE_BIG) $(VOID)
	@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)
	@$(ALLEGRO_DAT) -a -t bmp $@ $(VOID) 

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

distclean:
	@rm -f Makefile

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