aboutsummaryrefslogtreecommitdiff
path: root/iem_t3_lib
diff options
context:
space:
mode:
Diffstat (limited to 'iem_t3_lib')
-rw-r--r--iem_t3_lib/src/makefile_linux3
1 files changed, 2 insertions, 1 deletions
diff --git a/iem_t3_lib/src/makefile_linux b/iem_t3_lib/src/makefile_linux
index 3705f69..89d69e3 100644
--- a/iem_t3_lib/src/makefile_linux
+++ b/iem_t3_lib/src/makefile_linux
@@ -35,13 +35,14 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm $(TARGET)
+ rm ../$(TARGET)
rm *.o
all: $(OBJ)
@echo :: $(OBJ)
$(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
+ mv $(TARGET) ..
$(OBJ) : %.o : %.c
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c