summary refs log tree commit diff stats
path: root/src/gtk2-prefs/makefile.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk2-prefs/makefile.mak')
-rw-r--r--src/gtk2-prefs/makefile.mak24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gtk2-prefs/makefile.mak b/src/gtk2-prefs/makefile.mak
new file mode 100644
index 00000000..1eeeb565
--- /dev/null
+++ b/src/gtk2-prefs/makefile.mak
@@ -0,0 +1,24 @@
+include "..\makeinc.mak"
+
+TARGET = gtk2-prefs.exe
+
+PREF_OBJECTS = \
+callbacks.obj \
+interface.obj \
+support.obj \
+win32util.obj \
+main.obj
+
+CPPFLAGS = $(CPPFLAGS) /D_STL70_ /D_STATIC_CPPLIB /EHsc /DHAVE_CONFIG_H
+
+all: $(PREF_OBJECTS) $(TARGET)
+
+.cpp.obj:
+	$(CC) $(CPPFLAGS) $(GLIB) $(GTK) /I. /c $<
+	
+$(TARGET): $(PREF_OBJECTS)
+	$(LINK) /out:$(TARGET) /entry:mainCRTStartup $(LDFLAGS) $(PREF_OBJECTS) ntstc_msvcrt.lib $(LIBS)
+
+clean:
+	del $(TARGET)
+	del *.obj