diff options
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | Makefile | 8 |
2 files changed, 3 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index b3f663b..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -cmake_minimum_required (VERSION 2.8) - -project (Mjolnir C) -add_executable (mjolnir mjolnir.c) -target_link_libraries (mjolnir m) -install (TARGETS mjolnir RUNTIME DESTINATION bin) @@ -1,4 +1,3 @@ -CC = clang CFLAGS = -Wall -Wextra -std=c99 -pedantic -O3 LDFLAGS = -lm OBJECTS = mjolnir.o @@ -12,8 +11,7 @@ install: release cp $(TARGET) $(PREFIX)/$(TARGET) chmod 755 $(PREFIX)/$(TARGET) +uninstall: + rm $(PREFIX)/$(TARGET) clean: - rm -f *.o *~ core tags $(TARGET) - -tags: - ctags * + rm -f *.o $(TARGET) |