mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
all: at this point just read readme 😭
spaghetti code equivalent spaghetti readme spaghetti commit (wait no, this is actually descriptive)
This commit is contained in:
6
Makefile
6
Makefile
@@ -8,17 +8,17 @@ CFLAGS=-I$(IDIR)
|
||||
|
||||
LIBS=-lm
|
||||
|
||||
_DEPS = util.h users.h sessions.h
|
||||
_DEPS = util.h ui.h efield.h keys.h users.h sessions.h
|
||||
DEPS = $(patsubst %,$(IDIR)/%,$(_DEPS))
|
||||
|
||||
_OBJ = main.o util.o users.o sessions.o
|
||||
_OBJ = main.o util.o ui.o efield.o users.o sessions.o
|
||||
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
|
||||
|
||||
$(ODIR)/%.o: $(CDIR)/%.c $(DEPS)
|
||||
@mkdir -p $(ODIR)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
li: $(OBJ)
|
||||
lidm: $(OBJ)
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||
|
||||
.PHONY: clean
|
||||
|
Reference in New Issue
Block a user