summaryrefslogtreecommitdiff
path: root/surf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'surf/Makefile')
-rw-r--r--surf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/surf/Makefile b/surf/Makefile
index 69695dc..b428848 100644
--- a/surf/Makefile
+++ b/surf/Makefile
@@ -20,9 +20,10 @@ options:
@echo "LDFLAGS = $(LDFLAGS)"
surf: $(OBJ)
+ mkdir -p ~/.config/surf/
$(CC) $(SURFLDFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
- cp ads.txt ~/.config/surf/
-
+ cp ads.txt script.js ~/.config/surf/
+ cp style/* ~/.config/surf/styles/
$(OBJ) $(WOBJ): config.h common.h config.mk
config.h:
@@ -40,7 +41,7 @@ $(WOBJ): $(WSRC)
clean:
rm -f surf $(OBJ)
rm -f $(WLIB) $(WOBJ)
-
+ rm -f ~/.config/surf/script.js
distclean: clean
rm -f config.h surf-$(VERSION).tar.gz