aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile
index 2e82331..2dcdf4c 100644
--- a/makefile
+++ b/makefile
@@ -28,11 +28,13 @@ else
CFLAGS += -fPIC
endif
+.PHONY: all
all: $(TARGET)
release: CFLAGS += -O3
release: all
+.PHONY: install
install::
mkdir $(INSTALL)$(install_version) -p
cp $(TARGET) $(INSTALL)$(install_version)/$(TARGET)
@@ -68,5 +70,8 @@ reg: all
$(TARGET): $(OBJS)
$(LINKER) $(OBJS) -o $(TARGET) $(LFLAGS)
+.PHONY: clean
clean:
rm -f $(OBJS)
+
+