36 lines
717 B
Plaintext
36 lines
717 B
Plaintext
#XXX the "makefile.o" target is necessary to workaround an issue on some systems
|
|
targets=configure,makedepend,makefile.o
|
|
cppflags=
|
|
cflags_force=-W `pkg-config --cflags libSystem`
|
|
cflags=-Wall -g -O2 -pedantic
|
|
ldflags_force=`pkg-config --libs libSystem`
|
|
ldflags=
|
|
dist=Makefile,configure.h,makefile.h,settings.h
|
|
|
|
[configure]
|
|
type=binary
|
|
depends=$(OBJDIR)makefile.o
|
|
sources=configure.c,settings.c,main.c
|
|
ldflags=$(OBJDIR)makefile.o
|
|
install=$(BINDIR)
|
|
|
|
[configure.c]
|
|
depends=configure.h,makefile.h,../config.h
|
|
|
|
[main.c]
|
|
depends=configure.h
|
|
|
|
[settings.c]
|
|
depends=settings.h
|
|
|
|
[makedepend]
|
|
type=binary
|
|
sources=makedepend.c
|
|
|
|
[makefile.o]
|
|
type=object
|
|
sources=makefile.c
|
|
|
|
[makefile.c]
|
|
depends=configure.h,settings.h,../config.h
|