summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6f6af84..65048a6 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,10 @@ endif
CFLAGS = $(PCC_CFLAGS) $(CFLAGS_EXTRA)
OBJS = asmmon.o sux.o
OBJ_NAME = cisc-0.2
+OBJ_NAME2 = subeditor
all : clean $(OBJ_NAME)
+subeditor :
+ $(CC) programs/c-ports/$(OBJ_NAME2).c $(CFLAGS) -lcurses -ltinfo -o $(OBJ_NAME2)-c
cisc-0.2: $(OBJS)
$(CC) $(OBJS) $(CFLAGS) -lpthread -lcurses -ltinfo -o $(OBJ_NAME)
sux.o :
@@ -18,7 +21,7 @@ sux.o :
asmmon.o :
$(CC) asmmon.c -c $(CFLAGS) -o asmmon.o
clean :
- rm -f $(OBJ_NAME) $(OBJS)
+ rm -f $(OBJ_NAME) $(OBJ_NAME2)-c $(OBJS)
install :
install -D -m755 $(OBJ_NAME) $(BIN_DIR)/$(OBJ_NAME)
uninstall :