/[osn-commons]/trunk/freehttpd/Makefile
ViewVC logotype

Diff of /trunk/freehttpd/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 44 by rakinar2, Sat Aug 10 18:33:37 2024 UTC revision 45 by rakinar2, Sun Aug 11 17:35:46 2024 UTC
# Line 1  Line 1 
1  SOURCES = $(wildcard *.c)  SOURCES = $(wildcard *.c)
2    HEADERS = $(wildcard *.h)
3  OBJECTS = $(SOURCES:.c=.o)  OBJECTS = $(SOURCES:.c=.o)
4  BIN = freehttpd  BIN = freehttpd
5  CFLAGS = -g -O2 -Wall -Wextra -Werror -std=c23 -pedantic -pedantic-errors -pthread  CFLAGS = -g -O2 -Wall -Wextra -Werror -std=c23 -pedantic -pedantic-errors -pthread -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE
6  LDFLAGS = -pthread  LDFLAGS = -pthread
7    LDLIBS = -lmagic
8  CC = gcc  CC = gcc
9    
10  all: $(BIN)  all: $(BIN)
11    
12  $(BIN): $(OBJECTS)  $(BIN): $(OBJECTS) $(HEADERS)
13    
14    $(HEADERS): $(SOURCES)
15    
16  clean:  clean:
17      rm -f $(BIN) $(OBJECTS)      rm -f $(BIN) $(OBJECTS)

Legend:
Removed from v.44  
changed lines
  Added in v.45

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26