X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=Makefile;h=6ff0b81a95e20711ead308b7240e7349d6242e77;hp=584ff34828b62514bab181bdaaa46dd8ffa1563b;hb=7aab9e03ce0779a461044f56bc3f478e1c8d2460;hpb=6d7fa659380189a35b8d7cce9f0417b4ed1ce3a5 diff --git a/Makefile b/Makefile index 584ff34..6ff0b81 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,9 @@ # http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/#tldr BINARY_NAME:=othello SRC_PATH:=src -# will add -lothello automagically linking flags -LIBRARY_NAME:=libothello +LIBRARY_NAME:=lib$(BINARY_NAME) LIBRARY_PATH:=lib -LDLIBS:=-lncurses -ltinfo +LDLIBS:=-l$(BINARY_NAME) -lncurses -ltinfo BUILD_TYPE:=debug #BUILD_TYPE:=release