diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 08:56:40 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 08:56:40 +0800 |
commit | a7a7bebcecbcd22da76920cd0e46c455ec8b5bc9 (patch) | |
tree | 3eadc67c8f4dcef7d5d6602be299e55e949bd833 | |
parent | f36fd455104fcaa083fd1ea2186e65ec0350f208 (diff) |
Isolate headers to a directory
Prepare for header system installation
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | rtclient.c | 2 | ||||
-rw-r--r-- | rtclient/rtclient.h (renamed from rtclient.h) | 0 | ||||
-rw-r--r-- | rtclient/rtticket.h (renamed from rtticket.h) | 0 | ||||
-rw-r--r-- | rtclient/rtuser.h (renamed from rtuser.h) | 0 | ||||
-rw-r--r-- | test.c | 2 |
7 files changed, 6 insertions, 5 deletions
@@ -18,5 +18,5 @@ configure depcomp install-sh missing -rtclient stamp-h1 +test diff --git a/Makefile.am b/Makefile.am index 37f2990..3a90116 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ noinst_LIBRARIES = librtclient.a librtclient_a_SOURCES = \ - rtuser.h \ - rtclient.h \ + rtclient/rtuser.h \ + rtclient/rtticket.h \ + rtclient/rtclient.h \ rtclient.c @@ -8,7 +8,7 @@ #include <stdlib.h> #include <string.h> #include <curl/curl.h> -#include "rtclient.h" +#include "rtclient/rtclient.h" typedef struct rt_user rt_user; typedef struct rt_ticketlist rt_ticketlist; diff --git a/rtclient.h b/rtclient/rtclient.h index a872f37..a872f37 100644 --- a/rtclient.h +++ b/rtclient/rtclient.h diff --git a/rtticket.h b/rtclient/rtticket.h index 3d78ac1..3d78ac1 100644 --- a/rtticket.h +++ b/rtclient/rtticket.h diff --git a/rtuser.h b/rtclient/rtuser.h index 9fccea8..9fccea8 100644 --- a/rtuser.h +++ b/rtclient/rtuser.h @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "rtclient.h" +#include "rtclient/rtclient.h" int main(void) { |