remove model Makefile

Devtool is for that
This commit is contained in:
Mathieu Maret 2022-11-21 22:06:30 +01:00
parent bb335ce0f7
commit 0aadc590b9
1 changed files with 0 additions and 39 deletions

View File

@ -1,39 +0,0 @@
#################################
# Includes globaux et spécifiques
#################################
#INCLUDES=-I../include
####################################
# Options de compilation spécifiques
####################################
#CCOPT= -DPUR_LINUX
#######################
# règles de compilation
#######################
CFLAGS = -Wall -pedantic -Wshadow -ggdb -O2 -Wimplicit -Wreturn-type -Wuninitialized \
-Wparentheses -Wpointer-arith
LDFLAGS = -lpthread
SRC=$(wildcard *.c)
INCLUDES=$(wildcard *.h)
#######################
# Tâches
#######################
APPNAME=testapp
OBJS = $(SRC:.c=.o)
all: $(APPNAME)
$(APPNAME): $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS)
%.o : %.c $(INCLUDES)
$(CC) $(CFLAGS) $(CCOPT) -o $@ -c $<
clean :
-rm -f *.o *.a $(APPNAME)
.PHONY: all clean $(APPNAME)