21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
appfsd: appfsd.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfsd appfsd.o $(LIBS)
appfsd.o: appfsd.c appfsd.tcl.h
$(CC) $(CPPFLAGS) $(CFLAGS) -o appfsd.o -c appfsd.c
appfsd.tcl.h: appfsd.tcl stringify.tcl
sed 's@[\\"]@\\&@g;s@^@ "@;s@$$@\\n"@' appfsd.tcl > appfsd.tcl.h.new
mv appfsd.tcl.h.new appfsd.tcl.h
install: appfsd
cp appfsd $(bindir)
clean:
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
appfsd: appfsd.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfsd appfsd.o $(LIBS)
appfsd.o: appfsd.c appfsd.tcl.h
$(CC) $(CPPFLAGS) $(CFLAGS) -o appfsd.o -c appfsd.c
appfsd.tcl.h: appfsd.tcl
sed 's@[\\"]@\\&@g;s@^@ "@;s@$$@\\n"@' appfsd.tcl > appfsd.tcl.h.new
mv appfsd.tcl.h.new appfsd.tcl.h
install: appfsd
cp appfsd $(bindir)
clean:
|