File: Makefile

package info (click to toggle)
arptables 0.0.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ansic: 4,447; perl: 81; makefile: 63; sh: 29
file content (7 lines) | stat: -rw-r--r-- 298 bytes parent folder | download
1
2
3
4
5
6
7
#! /usr/bin/make

EXT_FUNC+=standard mangle CLASSIFY MARK
EXT_OBJS+=$(foreach T,$(EXT_FUNC), extensions/arpt_$(T).o)

extensions/arpt_%.o: extensions/arpt_%.c include/arptables.h include/arptables_common.h
	$(CC) $(DEFAULT_CPPFLAGS) $(CPPFLAGS) $(DEFAULT_CFLAGS) $(CFLAGS) $(PROGSPECS) -c -o $@ $<