include config.mk
-SRC = surf.c tabbed.c
+SRC = surf.c
OBJ = ${SRC:.c=.o}
-all: options surf tabbed
+all: options surf
options:
@echo surf build options:
${OBJ}: config.mk
-surf: surf.o
+surf: ${OBJ}
@echo CC -o $@
@${CC} -o $@ surf.o ${LDFLAGS}
-tabbed: tabbed.o
-
clean:
@echo cleaning
@rm -f surf ${OBJ} surf-${VERSION}.tar.gz
dist: clean
@echo creating dist tarball
@mkdir -p surf-${VERSION}
- @cp -R LICENSE Makefile README config.def.h config.mk \
+ @cp -R LICENSE Makefile README config.mk \
surf.1 ${SRC} surf-${VERSION}
@tar -cf surf-${VERSION}.tar surf-${VERSION}
@gzip surf-${VERSION}.tar