diff options
author | beber <beber> | 2005-07-20 22:01:42 +0000 |
---|---|---|
committer | beber <beber> | 2005-07-20 22:01:42 +0000 |
commit | 7211eb5c359cadd7641539e668279c7ded26339a (patch) | |
tree | 4e585f13679e45516dd9ed124512d1ad2e6b8783 | |
parent | More debug (diff) | |
download | elock-7211eb5c359cadd7641539e668279c7ded26339a.tar.xz |
Modifyed Makefile for tests
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,12 @@ SRC = elock.c NAME = elock -CFLAGS += -W -Wall +SRCTST = event2.c +NAMETST = test +LDFLAGSTST = -lX11 -W -Wall -g +OBJTST = $(SRCTST:c=o) + +CFLAGS += -W -Wall -g LDFLAGS += -lecore -lecore_config -lecore_con -lecore_evas OBJ = $(SRC:c=o) RM = rm -f @@ -11,9 +16,13 @@ $(NAME): $(OBJ) $(CC) -o $(NAME) $(CFLAGS) $(LDFLAGS) $(OBJ) chmod u+x $(NAME) +test: $(OBJTST) + $(CC) -o $(NAMETST) $(LDFLAGSTST) $(OBJTST) + chmod u+x $(NAMETST) + clean: $(RM) *.swp - $(RM) $(OBJ) + $(RM) $(OBJ) $(OBJTST) $(RM) *.c~ *.h~ pdfclean: |