summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5a98461..f33bbd9 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@
include config.mk
-SRC = surf.c
+SRC = surf.c tabbed.c
OBJ = ${SRC:.c=.o}
-all: options surf
+all: options surf tabbed
options:
@echo surf build options:
@@ -24,10 +24,14 @@ config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
-surf: ${OBJ}
+surf: surf.o
@echo CC -o $@
@${CC} -o $@ surf.o ${LDFLAGS}
+tabbed: tabbed.o
+ @echo CC -o $@
+ @${CC} -o $@ tabbed.o ${LDFLAGS}
+
clean:
@echo cleaning
@rm -f surf ${OBJ} surf-${VERSION}.tar.gz