File: Makefile

package info (click to toggle)
pcb-rnd 3.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 29,624 kB
  • sloc: ansic: 197,571; yacc: 6,153; sh: 5,808; awk: 2,708; makefile: 2,139; lex: 1,107; python: 519; xml: 261; lisp: 169; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (16 lines) | stat: -rw-r--r-- 592 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include ../../../Makefile.conf
include $(LIBRND_MAK)
SPHASH=$(LIBRND_LIBDIR)/librnd3/sphash
CFLAGS = -Wall -g -I.. -I. $(CFLAGS_LIBRND)

main: main.o pcbdoc_ascii.o ../altium_kw_sphash.o

main.o: main.c ../pcbdoc_ascii.h ../altium_kw_sphash.h

pcbdoc_ascii.o: ../pcbdoc_ascii.c ../pcbdoc_ascii.h ../altium_kw_sphash.h
	$(CC) -o $@ -c $(CFLAGS) ../pcbdoc_ascii.c

../altium_kw_sphash.c ../altium_kw_sphash.h: ../altium_kw.sphash
	$(SPHASH) $(VERBOSE) -i --multi --prefix altium_kw --out ../altium_kw < ../altium_kw_sphash.sphash

altium_kw_sphash.o: ../altium_kw_sphash.c ../altium_kw_sphash.h