aboutsummaryrefslogtreecommitdiff
path: root/iemlib2/src
diff options
context:
space:
mode:
Diffstat (limited to 'iemlib2/src')
-rw-r--r--iemlib2/src/makefile_linux3
1 files changed, 2 insertions, 1 deletions
diff --git a/iemlib2/src/makefile_linux b/iemlib2/src/makefile_linux
index ea9e468..0c6aef3 100644
--- a/iemlib2/src/makefile_linux
+++ b/iemlib2/src/makefile_linux
@@ -66,13 +66,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