mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-22 14:52:39 +03:00
19 lines
372 B
Makefile
19 lines
372 B
Makefile
|
CC := gcc
|
||
|
LD := gcc
|
||
|
|
||
|
CFLAGS := `pkg-config --cflags libdom` `pkg-config --cflags libwapcaplet` -Wall -O0 -g
|
||
|
LDFLAGS := `pkg-config --libs libdom` `pkg-config --libs libwapcaplet`
|
||
|
|
||
|
SRC := dom-structure-dump.c
|
||
|
|
||
|
dom-structure-dump: $(SRC:.c=.o)
|
||
|
@$(LD) -o $@ $^ $(LDFLAGS)
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
$(RM) dom-structure-dump $(SRC:.c=.o)
|
||
|
|
||
|
%.o: %.c
|
||
|
@$(CC) -c $(CFLAGS) -o $@ $<
|
||
|
|