aboutsummaryrefslogtreecommitdiff
path: root/src/makefile_linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile_linux')
-rw-r--r--src/makefile_linux6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/makefile_linux b/src/makefile_linux
index 3afc13f..039507d 100644
--- a/src/makefile_linux
+++ b/src/makefile_linux
@@ -8,6 +8,8 @@ INCLUDE = -I. -I$(PDSOURCE)
LDFLAGS = -export-dynamic -shared
LIB = -ldl -lm -lpthread
+STRIP=strip
+
#select either the DBG and OPT compiler flags below:
CFLAGS = -DPD -DUNIX \
@@ -37,13 +39,13 @@ 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)
+ $(STRIP) --strip-unneeded $(TARGET)
mv $(TARGET) ..
$(OBJ) : %.o : %.c